var path = require('node:path')
module.exports = {
  entry: './main.js',
  output: {
    filename: 'bundle.js',
    path: path.resolve(__dirname, 'dist') // 必须绝对路径
  }
}